package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 聘期考核对象 p_employ_exam
 * 
 * @author ruoyi
 * @date 2023-11-14
 */
public class EmployExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date employeeStart;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date employeeEnd;

    /** 内容 */
    @Excel(name = "内容")
    private String context;

    /** 附件 */
    @Excel(name = "附件")
    private String file;

    /** 考核进度 */
    @Excel(name = "考核进度")
    private String progress;

    /** 部门意见 */
    @Excel(name = "部门意见")
    private String deptOpinion;

    /** 学校意见 */
    @Excel(name = "学校意见")
    private String schoolOpinion;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setEmployeeStart(Date employeeStart) 
    {
        this.employeeStart = employeeStart;
    }

    public Date getEmployeeStart() 
    {
        return employeeStart;
    }
    public void setEmployeeEnd(Date employeeEnd) 
    {
        this.employeeEnd = employeeEnd;
    }

    public Date getEmployeeEnd() 
    {
        return employeeEnd;
    }
    public void setContext(String context) 
    {
        this.context = context;
    }

    public String getContext() 
    {
        return context;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }
    public void setProgress(String progress) 
    {
        this.progress = progress;
    }

    public String getProgress() 
    {
        return progress;
    }
    public void setDeptOpinion(String deptOpinion) 
    {
        this.deptOpinion = deptOpinion;
    }

    public String getDeptOpinion() 
    {
        return deptOpinion;
    }
    public void setSchoolOpinion(String schoolOpinion) 
    {
        this.schoolOpinion = schoolOpinion;
    }

    public String getSchoolOpinion() 
    {
        return schoolOpinion;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("employeeStart", getEmployeeStart())
            .append("employeeEnd", getEmployeeEnd())
            .append("context", getContext())
            .append("file", getFile())
            .append("progress", getProgress())
            .append("deptOpinion", getDeptOpinion())
            .append("schoolOpinion", getSchoolOpinion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
